Linux Command Line - from Simple Commands to Advanced Level: Become a Linux Expert FAST and EASY! (Full Edition, Revised and Enlarged) by Matthew Gimson

Linux Command Line - from Simple Commands to Advanced Level: Become a Linux Expert FAST and EASY! (Full Edition, Revised and Enlarged) by Matthew Gimson

Author:Matthew Gimson [Gimson, Matthew]
Language: eng
Format: azw3
Published: 2017-03-26T04:00:00+00:00


The above shows only a sample of the system variables. If you want to print any of the above variables, use the echo and the $ sign command as shown below:

echo $HOME

echo $PWD

The next section explains how to work with user defined variables.

Use the following syntax to define a user defined variable:

variable name=value

The ‘name’ refers to the name to be used to refer to the variable. The value is what it is. This is usually a number or a string. Example:

num=10

name=Mary

Tips when naming variable



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.